<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document   : BuscarVenda
    Created on : 02/12/2009, 14:08:31
    Author     : Administrador
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component" xmlns:jsp="http://java.sun.com/JSP/Page">
    <jsp:directive.page/>
    <f:view>
        <ice:outputHtml id="outputHtml1">
            <ice:outputHead id="outputHead1">
                <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
                <ice:outputStyle href="./resources/css/formata_conteudo.css" id="outputStyle3"/>
            </ice:outputHead>
            <ice:outputBody id="outputBody1" style="-rave-layout: grid">
                <ice:form id="form1">
                    <!-- Painel Principal -->
                    <ice:panelGroup id="painelPrincipal" styleClass="principal">
                        <!--  Painel Menu  -->
                        <ice:panelLayout id="panelLayoutMenu" style="width: 100%; top: 26%; left: 9.5%"/>
                        <!-- Painel Cabeçalho -->
                        <ice:panelLayout id="panelLayoutCabecalho" style=" -rave-layout: grid" styleClass="cabecalho">
                            <ice:commandButton action="#{view$ContasAReceber.panelLayoutLogo_action}" id="panelLayoutLogo"
                                image="/resources/images/logo_soligee.png" styleClass="logo"/>
                        </ice:panelLayout>
                        <!-- Fim - Painel Cabeçalho -->
                        <!-- Painel Título -->
                        <ice:panelLayout id="painelTitulo" style="rave-layout: grid" styleClass="titulo contas_receber">
                            <!-- Painel Voltar -->
                            <ice:panelLayout id="painelVoltar" styleClass="pnVoltar">
                                <ice:commandButton action="#{view$ContasAReceber.btn_voltar_action}" id="btn_voltar" image="/resources/images/btn/voltar.png" styleClass="btnVoltar"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Voltar -->
                        </ice:panelLayout>
                        <!-- Painel Busca -->
                        <ice:panelLayout id="panelPainelBusca" style="-rave-layout: grid" styleClass="painelBusca barraCinza"/>
                        <!-- Painel Corpo -->
                        <ice:panelLayout id="painelCorpo" styleClass="pnCorpo">
                            <!-- Painel Corpo Esquerda -->
                            <ice:panelLayout id="painelCorpoEsquerda" styleClass="pnCorpoEsquerda">
                                <!-- Tabela ResultadoBusca -->
                                <center>
                                    <ice:dataTable binding="#{view$ContasAReceber.tabelaVendas}" id="tabelaVendas" rows="10"
                                        style="left: 80px; top: 10px; position: absolute" value="#{view$ContasAReceber.dataTable1Model}" var="currentRow">
                                        <f:facet name="footer"/>
                                        <f:facet name="footer"/>
                                        <f:facet name="footer"/>
                                        <f:facet name="footer"/>
                                        <f:facet name="footer"/>
                                        <f:facet name="footer"/>
                                        <f:facet name="footer"/>
                                        <ice:column id="column1">
                                            <h:commandLink action="#{view$ContasAReceber.linkAction1_action}" id="linkAction1" value="#{currentRow.venda.codVenda}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText2" value="Cod. Venda"/>
                                            </f:facet>
                                        </ice:column>
                                        <ice:column id="column2">
                                            <ice:outputText id="outputText3" value="#{currentRow.numParcela}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText4" value="Num. Parcela"/>
                                            </f:facet>
                                        </ice:column>
                                        <ice:column id="column4">
                                            <ice:outputText id="outputText7" value="#{currentRow.valorParcela}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText8" value="Valor"/>
                                            </f:facet>
                                        </ice:column>
                                        <f:facet name="footer"/>
                                        <ice:column id="column3">
                                            <ice:outputText id="outputText5" value="#{currentRow.dataVencimento}"/>
                                            <f:facet name="header">
                                                <ice:outputText id="outputText6" value="Data Venciamento"/>
                                            </f:facet>
                                        </ice:column>
                                        <f:facet name="footer">
                                            <ice:panelGroup id="panelGroup1" style="display: block; text-align: center" styleClass="list-paging-footer">
                                                <ice:commandButton action="#{view$ContasAReceber.tabelaVendas_firstPageAction}"
                                                    binding="#{view$ContasAReceber.tabelaVendasFooterFirstButton}" id="tabelaVendasFooterFirstButton"
                                                    immediate="true" value="|&lt;"/>
                                                <ice:commandButton action="#{view$ContasAReceber.tabelaVendas_previousPageAction}"
                                                    binding="#{view$ContasAReceber.tabelaVendasFooterPreviousButton}" id="tabelaVendasFooterPreviousButton"
                                                    immediate="true" value="&lt;-"/>
                                                <ice:commandButton action="#{view$ContasAReceber.tabelaVendas_nextPageAction}"
                                                    binding="#{view$ContasAReceber.tabelaVendasFooterNextButton}" id="tabelaVendasFooterNextButton"
                                                    immediate="true" value="-&gt;"/>
                                                <ice:commandButton action="#{view$ContasAReceber.tabelaVendas_lastPageAction}"
                                                    binding="#{view$ContasAReceber.tabelaVendasFooterLastButton}" id="tabelaVendasFooterLastButton"
                                                    immediate="true" value="&gt;|"/>
                                            </ice:panelGroup>
                                        </f:facet>
                                    </ice:dataTable>
                                </center>
                            </ice:panelLayout>
                            <!-- Painel Corpo Direita -->
                            <ice:panelLayout id="painelCorpoDireita" layout="flow" styleClass="pnCorpoDireita">
                                <ice:panelTabSet id="painelContaAReceber" styleClass="pnTabSet" tabPlacement="Top">
                                    <ice:panelTab id="aba01" label="Venda">
                                        <ice:panelLayout id="conteudoAba01" layout="flow" styleClass="pnLayConteudo">
                                            <!--PAINEL A1 -->
                                            <ice:panelLayout id="panelLayoutA1" layout="flow" styleClass="pnLayForm1 pBusca">
                                                <!--CódigoVenda-->
                                                <ice:outputLabel id="tx_codVenda" styleClass="rotulo" value="Numero da Venda: "/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoCodVenda}" id="campoCodVenda" readonly="true"
                                                    styleClass="entradaTxt" title="Código da Nota."/>
                                                <!--Data de Venda -->
                                                <ice:outputLabel id="tx_dataVenda" styleClass="rotulo" value="Data Venda"/>
                                                <ice:selectInputDate binding="#{view$ContasAReceber.dataEntrada}" id="dataEntrada"
                                                    inputTitle="Data de Realização do Orçamento." partialSubmit="true" popupDateFormat="dd/MM/yyyy"
                                                    renderAsPopup="true" renderMonthAsDropdown="true" renderYearAsDropdown="true" styleClass="entradaTxt"/>
                                                <!--NomeCliente -->
                                                <ice:outputLabel id="tx_nomeCliente" styleClass="rotulo" value="Nome Cliente"/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoNomeCliente}" id="campoNomeCliente" styleClass="entradaTxt" title="Nome do Cliente"/>
                                                <!--NomeVendedor -->
                                                <ice:outputLabel id="tx_nomeVendedor" styleClass="rotulo" value="Nome Vendedor"/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoNomeVendedor}" id="campoNomeVendedor" styleClass="entradaTxt" title="Nome do Vendedor."/>
                                                <!--FormaPagamento -->
                                                <ice:outputLabel id="tx_formaPagamento" styleClass="rotulo" value="Forma Pagamento"/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoFormaPagamento}" id="campoFormaPagamento"
                                                    styleClass="entradaTxt" title="Insira o Valor Total da Venda."/>
                                            </ice:panelLayout>
                                            <!--PAINEL A2 -->
                                            <ice:panelLayout id="panelLayoutA2" layout="flow" styleClass="pnLayForm2 pBusca">
                                                <!--Quantidade de Parcelas -->
                                                <ice:outputLabel id="tx_qtdParcelas" styleClass="rotulo" value="Quantidade Parcelas"/>
                                                <!--Numero de Parcelas -->
                                                <!--Situação-->
                                                <!--Valor Total -->
                                                <!--Link Cancelar -->
                                                <!-- linkProximaAba -->
                                                <ice:inputText binding="#{view$ContasAReceber.campoQtdParcelas}" id="campoQtdParcelas" onkeypress="mascara(this,soNumeros)" styleClass="entradaTxt" title="Insira o Valor Total da Venda."/>
                                                <ice:outputLabel id="tx_numParcela" styleClass="rotulo" value="Numero da Parcela"/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoNumParcela}" id="campoNumParcela" onkeypress="mascara(this,soNumeros)" styleClass="entradaTxt" title="Parcela Referente."/>
                                                <ice:outputLabel id="tx_situacao" styleClass="rotulo" value="Situação"/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoSituacao}" id="campoSituacao" styleClass="entradaTxt" title="Situação da Parcela"/>
                                                <ice:outputLabel id="tx_valorTotal" styleClass="rotulo" value="Valor Total"/>
                                                <ice:inputText binding="#{view$ContasAReceber.campoValorTotal}" id="campoValorTotal" onkeypress="mascara(this,valor)" styleClass="entradaTxt" title="Insira o Valor Total da Venda."/>
                                                <ice:commandLink action="#{view$ContasAReceber.linkCancelar_action}" id="linkCancelar" styleClass="cancelarBtn minix"/>
                                                <ice:commandButton action="#{view$ContasAReceber.botaoReceberConta_action}"
                                                    binding="#{view$ContasAReceber.botaoReceberConta}" id="botaoReceberConta" styleClass="rotulo" value="Receber Pagto."/>
                                            </ice:panelLayout>
                                        </ice:panelLayout>
                                    </ice:panelTab>
                                </ice:panelTabSet>
                            </ice:panelLayout>
                            <!-- Fim Painel Corpo Direita -->
                            <!-- Painel Rodapé -->
                            <ice:panelLayout id="painelRodape" layout="flow" styleClass="boxRodape">
                                <ice:panelLayout id="painelRodapeEsq" styleClass="esqRodape"/>
                                <ice:panelLayout id="logoRodape" styleClass="logoRodape"/>
                                <ice:panelLayout id="painelRodapeDir" styleClass="dirRodape"/>
                            </ice:panelLayout>
                            <!-- Fim Painel Rodapé -->
                        </ice:panelLayout>
                        <!-- Fim - Painel Corpo -->
                    </ice:panelGroup>
                    <!-- Fim - Painel Principal -->
                    <!-- POP-UP-->
                    <ice:panelPopup autoCentre="true" binding="#{view$ContasAReceber.painelPopUpAviso}" draggable="true" id="painelPopUpAviso" modal="true"
                        style="left: 824px; top: 56px; position: absolute; width: 190px" styleClass="jpopup">
                        <f:facet name="header">
                            <ice:panelGrid id="panelGrid1" style="display:block;width:180px;height:20px;">
                                <ice:outputText id="outputText20" value="Atencao"/>
                            </ice:panelGrid>
                        </f:facet>
                        <f:facet name="body">
                            <ice:panelGroup id="panelPopBody" styleClass="jpopBody">
                                <ice:panelLayout id="panelPopTxt" styleClass="jpopTxt">
                                    <ice:outputText binding="#{view$ContasAReceber.textoPopUp}" id="textoPopUp" value="body text"/>
                                </ice:panelLayout>
                                <ice:panelLayout id="panelPopBtn" styleClass="jpopBtn">
                                    <ice:commandButton action="#{view$ContasAReceber.btnPopUp1_action}" binding="#{view$ContasAReceber.btnPopUp1}"
                                        id="btnPopUp1" value="submit"/>
                                    <ice:commandButton action="#{view$ContasAReceber.btnPopUp2_action}" binding="#{view$ContasAReceber.btnPopUp2}"
                                        id="btnPopUp2" immediate="true" value="submit"/>
                                </ice:panelLayout>
                            </ice:panelGroup>
                        </f:facet>
                    </ice:panelPopup>
                </ice:form>
            </ice:outputBody>
        </ice:outputHtml>
    </f:view>
</jsp:root>
